package com.sk.sqd.strategy;

import org.springframework.stereotype.Component;

import java.math.BigDecimal;

/**
 * 正常收费子类，原价返回
 */
@Component
public class CashNormalStrategy extends CashStrategy {

    @Override
    public BigDecimal acceptCash(BigDecimal money, Double moneyRebate, Double moneyCondition, Double moneyReturn) {
        return money;
    }

    @Override
    public String type() {
        return "normal";
    }

}
